package org.thalien.roleplay.logic;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.thalien.roleplay.entity.Ruler;

public class RulerLogic extends AbstractDao<Ruler> {
	
	private static Logger logger = LoggerFactory.getLogger(RulerLogic.class);

	@Override
	protected Logger getLogger() {
		return RulerLogic.logger;
	}

	@Override
	public Class<Ruler> getEntityClass() {
		return Ruler.class;
	}

	@Override
	public Object getId(Ruler entity) {
		return entity.getId();
	}
	
	@Override
	public Ruler findByName(String name) {
		return super.findByName(name);
	}
}
